import React from 'react'
import ReactDOM from 'react-dom'
import App from './pages/App.jsx'
// import Progress from './pages/Progress'
import {AppContainer} from 'react-hot-loader';
import {Provider} from 'mobx-react';
import stores from './storge';
// import mock from './mock/mock';
require('./mock/mock');
ReactDOM.render(<AppContainer><Provider {...stores}><App /></Provider></AppContainer>, document.getElementById('root'));

// Hot Module Replacement API
if (module.hot) {
    module.hot.accept()
}